home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Frank Lloyd Wright Companion
/
The Frank Lloyd Wright Companion.iso
/
fullmacapps
/
macfllwc_small.sit
/
MacFLLWC_Small
/
flw.mvb.rsrc
/
CDEF_130_QT Scroll.txt
< prev
next >
Wrap
Text File
|
1995-09-30
|
96KB
|
1,743 lines
start:
00000000 4E56 FFC0 link A6, -0x0040
00000004 42AE FFCA clr.l [A6 - 0x36]
00000008 6000 0084 bra +0x86 /* 0000008E */
0000000C 5154 subq.w [A4], 8
0000000E 2053 movea.l A0, [A3]
00000010 6372 bls +0x74 /* 00000084 */
00000012 6F6C ble +0x6E /* 00000080 */
00000014 6C20 bge +0x22 /* 00000036 */
00000016 7631 moveq.l D3, 0x31
00000018 2E30 2066 move.l D7, [A0 + D2.w + 0x66]
0000001C 6F72 ble +0x74 /* 00000090 */
0000001E 2051 movea.l A0, [A1]
00000020 7569 moveq.l D2, 0x69
00000022 636B bls +0x6D /* 0000008F */
00000024 4865 pea.l -[A5]
00000026 6C70 bge +0x72 /* 00000098 */
00000028 AA2F syscall NewGDevice
0000002A 5175 6963 6B56 6965 77AA subq.w [[A5 + 0x6B56] + 0x696577AA], 8
00000034 2062 movea.l A0, -[A2]
label00000036:
00000036 7920 moveq.l D4, 0x20
00000038 4A6F 7264 tst.w [A7 + 0x7264]
0000003C 616E bsr +0x70 /* 000000AC */
0000003E 205A movea.l A0, [A2]+
00000040 696D bvs +0x6F /* 000000AF */
00000042 6D65 blt +0x67 /* 000000A9 */
00000044 726D moveq.l D1, 0x6D
00000046 616E bsr +0x70 /* 000000B6 */
00000048 20A5 move.l [A0], -[A5]
0000004A 2028 6329 move.l D0, [A0 + 0x6329]
0000004E 3139 3933 2C39 move.w -[A0], [0x39332C39]
00000054 3420 move.w D2, -[A0]
00000056 6279 bhi +0x7B /* 000000D1 */
00000058 2041 movea.l A0, D1
0000005A 6C74 bge +0x76 /* 000000D0 */
0000005C 7572 moveq.l D2, 0x72
0000005E 6120 bsr +0x22 /* 00000080 */
00000060 536F 6674 subq.w [A7 + 0x6674], 1
00000064 7761 moveq.l D3, 0x61
00000066 7265 moveq.l D1, 0x65
00000068 2C20 move.l D6, -[A0]
0000006A 496E 632E chk.w D4, [A6 + 0x632E]
0000006E 2020 move.l D0, -[A0]
00000070 416C 6C20 chk.w D0, [A4 + 0x6C20]
00000074 7269 moveq.l D1, 0x69
00000076 6768 beq +0x6A /* 000000E0 */
00000078 7473 moveq.l D2, 0x73
0000007A 2072 6573 6572 7665 6420 776F movea.l A0, [[A2 + 0x65727665] + 0x6420776F]
// begin alternate branch 00000080-00000084
fn00000080:
00000080 7665 moveq.l D3, 0x65
00000082 6420 bcc +0x22 /* 000000A4 */
// end alternate branch 00000080-00000084
// begin alternate branch 00000084-00000086
label00000084:
00000084 776F moveq.l D3, 0x6F
// end alternate branch 00000084-00000086
fn00000080: // (misaligned)
label00000084: // (misaligned)
00000086 726C moveq.l D1, 0x6C
00000088 6477 bcc +0x79 /* 00000101 */
0000008A 6964 bvs +0x66 /* 000000F0 */
0000008C 652E bcs +0x30 /* 000000BC */
label0000008E:
0000008E 42A7 clr.l -[A7]
label00000090:
00000090 A8D8 syscall NewRgn
00000092 2D5F FFD6 move.l [A6 - 0x2A], [A7]+
00000096 6608 bne +0xA /* 000000A0 */
label00000098:
00000098 42AE 0014 clr.l [A6 + 0x14]
0000009C 6000 0220 bra +0x222 /* 000002BE */
label000000A0:
000000A0 42A7 clr.l -[A7]
000000A2 A8D8 syscall NewRgn
label000000A4:
000000A4 2D5F FFDA move.l [A6 - 0x26], [A7]+
000000A8 660E bne +0x10 /* 000000B8 */
000000AA 2F2E FFD6 move.l -[A7], [A6 - 0x2A]
// begin alternate branch 000000AC-000000AE
fn000000AC:
000000AC FFD6 .extension 0xFD6 // unimplemented
// end alternate branch 000000AC-000000AE
fn000000AC: // (misaligned)
000000AE A8D9 syscall DisposRgn/DisposeRgn
000000B0 42AE 0014 clr.l [A6 + 0x14]
000000B4 6000 0208 bra +0x20A /* 000002BE */
// begin alternate branch 000000B6-000000BC
fn000000B6:
000000B6 0208 486E andi.b A0, 0x6E /* 'n' */
label000000B8: // (misaligned)
000000BA FFCE .extension 0xFCE // unimplemented
// end alternate branch 000000B6-000000BC
fn000000B6: // (misaligned)
label000000B8:
000000B8 486E FFCE pea.l [A6 - 0x32]
label000000BC:
000000BC A874 syscall GetPort
000000BE 486E FFEA pea.l [A6 - 0x16]
000000C2 A898 syscall GetPenState
000000C4 206E FFCE movea.l A0, [A6 - 0x32]
000000C8 3D68 0044 FFC6 move.w [A6 - 0x3A], [A0 + 0x44]
000000CE 3D68 004A FFC4 move.w [A6 - 0x3C], [A0 + 0x4A]
// begin alternate branch 000000D0-000000D4
label000000D0:
000000D0 004A FFC4 ori.w A2, 0xFFC4
// end alternate branch 000000D0-000000D4
label000000D0: // (misaligned)
000000D4 7000 moveq.l D0, 0x00
000000D6 1028 0046 move.b D0, [A0 + 0x46]
000000DA 3D40 FFC2 move.w [A6 - 0x3E], D0
000000DE 3D68 0048 FFC0 move.w [A6 - 0x40], [A0 + 0x48]
// begin alternate branch 000000E0-000000E4
label000000E0:
000000E0 0048 FFC0 ori.w A0, 0xFFC0
// end alternate branch 000000E0-000000E4
label000000E0: // (misaligned)
000000E4 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000000EA 57C1 seq D1
000000EC 4401 neg.b D1
000000EE 4881 ext.w D1
label000000F0:
000000F0 3D41 FFC8 move.w [A6 - 0x38], D1
000000F4 670C beq +0xE /* 00000102 */
000000F6 486E FFE4 pea.l [A6 - 0x1C]
000000FA AA19 syscall GetForeColor
000000FC 486E FFDE pea.l [A6 - 0x22]
00000100 AA1A syscall GetBackColor
label00000102:
00000102 4878 0021 push.l 0x21 /* '!' */
00000106 A862 syscall ForeColor
00000108 4878 001E push.l 0x1E
0000010C A863 syscall BackColor
0000010E 4267 clr.w -[A7]
00000110 A887 syscall TextFont
00000112 3F3C 000C move.w -[A7], 0xC
00000116 A88A syscall TextSize
00000118 4267 clr.w -[A7]
0000011A A888 syscall TextFace
0000011C 3F3C 0001 move.w -[A7], 0x1
00000120 A889 syscall TextMode
00000122 A89E syscall PenNormal
00000124 206E 000E movea.l A0, [A6 + 0xE]
00000128 A029 syscall HLock
0000012A 206E 000E movea.l A0, [A6 + 0xE]
0000012E 2D50 FFD2 move.l [A6 - 0x2E], [A0]
00000132 2F2E FFDA move.l -[A7], [A6 - 0x26]
00000136 A87A syscall GetClip
00000138 2F2E FFD6 move.l -[A7], [A6 - 0x2A]
0000013C 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00000140 4EBA 020C jsr [PC + 0x20C /* 0000034E */]
00000144 508F addq.l A7, 8
00000146 2F2E FFDA move.l -[A7], [A6 - 0x26]
0000014A 2F2E FFD6 move.l -[A7], [A6 - 0x2A]
0000014E 2F2E FFD6 move.l -[A7], [A6 - 0x2A]
00000152 A8E4 syscall SectRgn
00000154 2F2E FFD6 move.l -[A7], [A6 - 0x2A]
00000158 A879 syscall SetClip
0000015A 302E 000C move.w D0, [A6 + 0xC]
0000015E 0C40 000B cmpi.w D0, 0xB
00000162 6200 010C bhi +0x10E /* 00000270 */
00000166 43FA 0160 lea.l A1, [PC + 0x160 /* 000002C8, value 0xFF44FF76 */]
0000016A D040 add.w D0, D0
0000016C D2F1 0000 add.w A1, [A1 + D0.w]
00000170 4ED1 jmp [A1]
00000172 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00000176 4EBA 0168 jsr [PC + 0x168 /* 000002E0 */]
0000017A 588F addq.l A7, 4
0000017C 6000 00F2 bra +0xF4 /* 00000270 */
00000180 206E FFD2 movea.l A0, [A6 - 0x2E]
00000184 4AA8 001C tst.l [A0 + 0x1C]
00000188 6700 00E6 beq +0xE8 /* 00000270 */
0000018C 206E FFD2 movea.l A0, [A6 - 0x2E]
00000190 2068 001C movea.l A0, [A0 + 0x1C]
00000194 A023 syscall DisposHandle/DisposeHandle
00000196 206E FFD2 movea.l A0, [A6 - 0x2E]
0000019A 42A8 001C clr.l [A0 + 0x1C]
0000019E 6000 00D0 bra +0xD2 /* 00000270 */
000001A2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001A6 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
000001AA 4EBA 0194 jsr [PC + 0x194 /* 00000340 */]
000001AE 508F addq.l A7, 8
000001B0 7001 moveq.l D0, 0x01
000001B2 2D40 FFCA move.l [A6 - 0x36], D0
000001B6 6000 00B8 bra +0xBA /* 00000270 */
000001BA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001BE 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
000001C2 4EBA 018A jsr [PC + 0x18A /* 0000034E */]
000001C6 508F addq.l A7, 8
000001C8 7001 moveq.l D0, 0x01
000001CA 2D40 FFCA move.l [A6 - 0x36], D0
000001CE 6000 00A0 bra +0xA2 /* 00000270 */
000001D2 42A7 clr.l -[A7]
000001D4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001D8 4EBA 0E36 jsr [PC + 0xE36 /* 00001010 */]
000001DC 2D5F FFFC move.l [A6 - 0x4], [A7]+
000001E0 202E 0008 move.l D0, [A6 + 0x8]
000001E4 0280 0000 F000 andi.l D0, 0xF000
000001EA 6710 beq +0x12 /* 000001FC */
000001EC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001F0 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
000001F4 4EBA 014A jsr [PC + 0x14A /* 00000340 */]
000001F8 508F addq.l A7, 8
000001FA 6074 bra +0x76 /* 00000270 */
label000001FC:
000001FC 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000200 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00000204 4EBA 0148 jsr [PC + 0x148 /* 0000034E */]
00000208 508F addq.l A7, 8
0000020A 6064 bra +0x66 /* 00000270 */
0000020C 206E FFD2 movea.l A0, [A6 - 0x2E]
00000210 4A28 0010 tst.b [A0 + 0x10]
00000214 675A beq +0x5C /* 00000270 */
00000216 4267 clr.w -[A7]
00000218 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000021C A86B syscall LoWord
0000021E 0C5F 000A cmpi.w [A7]+, 0xA /* '\n' */
00000222 674C beq +0x4E /* 00000270 */
00000224 206E FFD2 movea.l A0, [A6 - 0x2E]
00000228 2068 0004 movea.l A0, [A0 + 0x4]
0000022C 4A28 006E tst.b [A0 + 0x6E]
00000230 673E beq +0x40 /* 00000270 */
00000232 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00000236 4EBA 012C jsr [PC + 0x12C /* 00000364 */]
0000023A 588F addq.l A7, 4
0000023C 6032 bra +0x34 /* 00000270 */
0000023E 206E FFD2 movea.l A0, [A6 - 0x2E]
00000242 0C28 00FE 0011 cmpi.b [A0 + 0x11], 0xFE
00000248 6426 bcc +0x28 /* 00000270 */
0000024A 4227 clr.b -[A7]
0000024C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000250 206E FFD2 movea.l A0, [A6 - 0x2E]
00000254 4868 0008 pea.l [A0 + 0x8]
00000258 A8AD syscall PtInRect
0000025A 4A1F tst.b [A7]+
0000025C 6712 beq +0x14 /* 00000270 */
0000025E 700A moveq.l D0, 0x0A
00000260 2D40 FFCA move.l [A6 - 0x36], D0
00000264 600A bra +0xC /* 00000270 */
00000266 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
0000026A 4EBA 0AF2 jsr [PC + 0xAF2 /* 00000D5E */]
0000026E 588F addq.l A7, 4
label00000270:
00000270 206E 000E movea.l A0, [A6 + 0xE]
00000274 A02A syscall HUnlock
00000276 2F2E FFDA move.l -[A7], [A6 - 0x26]
0000027A A879 syscall SetClip
0000027C 2F2E FFDA move.l -[A7], [A6 - 0x26]
00000280 A8D9 syscall DisposRgn/DisposeRgn
00000282 2F2E FFD6 move.l -[A7], [A6 - 0x2A]
00000286 A8D9 syscall DisposRgn/DisposeRgn
00000288 3F2E FFC6 move.w -[A7], [A6 - 0x3A]
0000028C A887 syscall TextFont
0000028E 3F2E FFC4 move.w -[A7], [A6 - 0x3C]
00000292 A88A syscall TextSize
00000294 3F2E FFC2 move.w -[A7], [A6 - 0x3E]
00000298 A888 syscall TextFace
0000029A 3F2E FFC0 move.w -[A7], [A6 - 0x40]
0000029E A889 syscall TextMode
000002A0 486E FFEA pea.l [A6 - 0x16]
000002A4 A899 syscall SetPenState
000002A6 4A6E FFC8 tst.w [A6 - 0x38]
000002AA 670C beq +0xE /* 000002B8 */
000002AC 486E FFE4 pea.l [A6 - 0x1C]
000002B0 AA14 syscall RGBForeColor
000002B2 486E FFDE pea.l [A6 - 0x22]
000002B6 AA15 syscall RGBBackColor
label000002B8:
000002B8 2D6E FFCA 0014 move.l [A6 + 0x14], [A6 - 0x36]
label000002BE:
000002BE 4E5E unlink A6
000002C0 205F movea.l A0, [A7]+
000002C2 4FEF 000C lea.l A7, [A7 + 0xC]
000002C6 4ED0 jmp [A0]
000002C8 FF44 .extension 0xF44 // unimplemented
000002CA FF76 .extension 0xF76 // unimplemented
000002CC FF0A .extension 0xF0A // unimplemented
000002CE FEAA .extension 0xEAA // unimplemented
000002D0 FEB8 .extension 0xEB8 // unimplemented
000002D2 FFA8 .extension 0xFA8 // unimplemented
000002D4 FFA8 .extension 0xFA8 // unimplemented
000002D6 FFA8 .extension 0xFA8 // unimplemented
000002D8 FF9E .extension 0xF9E // unimplemented
000002DA FFA8 .extension 0xFA8 // unimplemented
000002DC FEF2 .extension 0xEF2 // unimplemented
000002DE FEDA .extension 0xEDA // unimplemented
fn000002E0:
000002E0 4E56 FFEC link A6, -0x0014
000002E4 48E7 0030 movem.l -[A7], A2,A3
000002E8 246E 0008 movea.l A2, [A6 + 0x8]
000002EC 47EA 0008 lea.l A3, [A2 + 0x8]
000002F0 70FF moveq.l D0, 0xFFFFFFFF
000002F2 2540 0020 move.l [A2 + 0x20], D0
000002F6 422E FFFE clr.b [A6 - 0x2]
000002FA 2D53 FFF4 move.l [A6 - 0xC], [A3]
000002FE 2D6B 0004 FFF8 move.l [A6 - 0x8], [A3 + 0x4]
00000304 3D6A 0014 FFFC move.w [A6 - 0x4], [A2 + 0x14]
0000030A 3D53 FFEC move.w [A6 - 0x14], [A3]
0000030E 3D6B 0004 FFF0 move.w [A6 - 0x10], [A3 + 0x4]
00000314 3D6B 0002 FFEE move.w [A6 - 0x12], [A3 + 0x2]
0000031A 700A moveq.l D0, 0x0A
0000031C D06E FFEE add.w D0, [A6 - 0x12]
00000320 3D40 FFF2 move.w [A6 - 0xE], D0
00000324 4267 clr.w -[A7]
00000326 486E FFEC pea.l [A6 - 0x14]
0000032A 486A 001C pea.l [A2 + 0x1C]
0000032E 4878 0014 push.l 0x14
00000332 4EBA 0CF6 jsr [PC + 0xCF6 /* 0000102A */]
00000336 4CEE 0C00 FFE4 movem.l A2,A3, [A6 - 0x1C]
0000033C 4E5E unlink A6
0000033E 4E75 rts
fn00000340:
00000340 4E56 0000 link A6, 0
00000344 2F2E 000C move.l -[A7], [A6 + 0xC]
00000348 A8DD syscall SetEmptyRgn
0000034A 4E5E unlink A6
0000034C 4E75 rts
fn0000034E:
0000034E 4E56 0000 link A6, 0
00000352 2F2E 000C move.l -[A7], [A6 + 0xC]
00000356 206E 0008 movea.l A0, [A6 + 0x8]
0000035A 4868 0008 pea.l [A0 + 0x8]
0000035E A8DF syscall RectRgn
00000360 4E5E unlink A6
00000362 4E75 rts
fn00000364:
00000364 4E56 FF8A link A6, -0x0076
00000368 48E7 0730 movem.l -[A7], D5,D6,D7,A2,A3
0000036C 246E 0008 movea.l A2, [A6 + 0x8]
00000370 42AE FF8A clr.l [A6 - 0x76]
00000374 7C00 moveq.l D6, 0x00
00000376 7E1C moveq.l D7, 0x1C
00000378 DE8A add.l D7, A2
0000037A 2047 movea.l A0, D7
0000037C 4A90 tst.l [A0]
0000037E 6700 011A beq +0x11C /* 0000049A */
00000382 A89E syscall PenNormal
00000384 2F2A 000C move.l -[A7], [A2 + 0xC]
00000388 2F2A 0008 move.l -[A7], [A2 + 0x8]
0000038C 4EBA 05CE jsr [PC + 0x5CE /* 0000095C */]
00000390 3A00 move.w D5, D0
00000392 4A45 tst.w D5
00000394 508F addq.l A7, 8
00000396 6704 beq +0x6 /* 0000039C */
00000398 7A00 moveq.l D5, 0x00
0000039A 601C bra +0x1E /* 000003B8 */
label0000039C:
0000039C 486E FFFA pea.l [A6 - 0x6]
000003A0 3F3C 0014 move.w -[A7], 0x14
000003A4 4EBA 0B46 jsr [PC + 0xB46 /* 00000EEC */]
000003A8 3A00 move.w D5, D0
000003AA 701E moveq.l D0, 0x1E
000003AC 2E80 move.l [A7], D0
000003AE A863 syscall BackColor
000003B0 4878 0021 push.l 0x21 /* '!' */
000003B4 A862 syscall ForeColor
000003B6 548F addq.l A7, 2
label000003B8:
000003B8 2047 movea.l A0, D7
000003BA 2050 movea.l A0, [A0]
000003BC 2650 movea.l A3, [A0]
000003BE 102B 0012 move.b D0, [A3 + 0x12]
000003C2 6714 beq +0x16 /* 000003D8 */
000003C4 6B12 bmi +0x14 /* 000003D8 */
000003C6 5500 subq.b D0, 2
000003C8 6706 beq +0x8 /* 000003D0 */
000003CA 6A0C bpl +0xE /* 000003D8 */
000003CC 3C05 move.w D6, D5
000003CE 6008 bra +0xA /* 000003D8 */
label000003D0:
000003D0 4A45 tst.w D5
000003D2 57C6 seq D6
000003D4 4406 neg.b D6
000003D6 4886 ext.w D6
label000003D8:
000003D8 4A45 tst.w D5
000003DA 6704 beq +0x6 /* 000003E0 */
000003DC 7002 moveq.l D0, 0x02
000003DE 6002 bra +0x4 /* 000003E2 */
label000003E0:
000003E0 7001 moveq.l D0, 0x01
label000003E2:
000003E2 1740 0012 move.b [A3 + 0x12], D0
000003E6 302B 0010 move.w D0, [A3 + 0x10]
000003EA B06A 0012 cmp.w D0, [A2 + 0x12]
000003EE 6610 bne +0x12 /* 00000400 */
000003F0 4227 clr.b -[A7]
000003F2 486A 0008 pea.l [A2 + 0x8]
000003F6 486B 0008 pea.l [A3 + 0x8]
000003FA A8A6 syscall EqualRect
000003FC 4A1F tst.b [A7]+
000003FE 660A bne +0xC /* 0000040A */
label00000400:
00000400 2F0B move.l -[A7], A3
00000402 2F0A move.l -[A7], A2
00000404 4EBA 080A jsr [PC + 0x80A /* 00000C10 */]
00000408 508F addq.l A7, 8
label0000040A:
0000040A 4A46 tst.w D6
0000040C 670A beq +0xC /* 00000418 */
0000040E 486A 0008 pea.l [A2 + 0x8]
00000412 A928 syscall InvalRect
00000414 6000 0084 bra +0x86 /* 0000049A */
label00000418:
00000418 4A45 tst.w D5
0000041A 6716 beq +0x18 /* 00000432 */
0000041C 486E FF8A pea.l [A6 - 0x76]
00000420 2F0A move.l -[A7], A2
00000422 486E FF8E pea.l [A6 - 0x72]
00000426 4EBA 0654 jsr [PC + 0x654 /* 00000A7C */]
0000042A 3C00 move.w D6, D0
0000042C 4FEF 000C lea.l A7, [A7 + 0xC]
00000430 600E bra +0x10 /* 00000440 */
label00000432:
00000432 2F0A move.l -[A7], A2
00000434 486E FF8E pea.l [A6 - 0x72]
00000438 4EBA 05A4 jsr [PC + 0x5A4 /* 000009DE */]
0000043C 3C00 move.w D6, D0
0000043E 508F addq.l A7, 8
label00000440:
00000440 4A46 tst.w D6
00000442 6706 beq +0x8 /* 0000044A */
00000444 486E FF8E pea.l [A6 - 0x72]
00000448 A873 syscall SetPort
label0000044A:
0000044A 2F0A move.l -[A7], A2
0000044C 3F05 move.w -[A7], D5
0000044E 4EBA 00BA jsr [PC + 0xBA /* 0000050A */]
00000452 2F0A move.l -[A7], A2
00000454 3F05 move.w -[A7], D5
00000456 4EBA 026A jsr [PC + 0x26A /* 000006C2 */]
0000045A 4A46 tst.w D6
0000045C 673C beq +0x3E /* 0000049A */
0000045E 2F2A 0004 move.l -[A7], [A2 + 0x4]
00000462 A873 syscall SetPort
00000464 486E FF90 pea.l [A6 - 0x70]
00000468 486E FF9E pea.l [A6 - 0x62]
0000046C 486A 0008 pea.l [A2 + 0x8]
00000470 4267 clr.w -[A7]
00000472 42A7 clr.l -[A7]
00000474 A8EB syscall StdBits
00000476 4A45 tst.w D5
00000478 6714 beq +0x16 /* 0000048E */
0000047A 486E FF8E pea.l [A6 - 0x72]
0000047E A87D syscall ClosePort
00000480 4AAE FF8A tst.l [A6 - 0x76]
00000484 6714 beq +0x16 /* 0000049A */
00000486 206E FF8A movea.l A0, [A6 - 0x76]
0000048A A023 syscall DisposHandle/DisposeHandle
0000048C 600C bra +0xE /* 0000049A */
label0000048E:
0000048E 486E FF8E pea.l [A6 - 0x72]
00000492 A87D syscall ClosePort
00000494 206E FF90 movea.l A0, [A6 - 0x70]
00000498 A01F syscall DisposPtr/DisposePtr
label0000049A:
0000049A 4CDF 0CE0 movem.l D5,D6,D7,A2,A3, [A7]+
0000049E 4E5E unlink A6
000004A0 4E75 rts
fn000004A2:
000004A2 4E56 0000 link A6, 0
000004A6 48E7 0300 movem.l -[A7], D6,D7
000004AA 206E 0008 movea.l A0, [A6 + 0x8]
000004AE 0828 0000 0001 btst.b [A0 + 0x1], 0x0
000004B4 56C7 sne D7
000004B6 4407 neg.b D7
000004B8 4887 ext.w D7
000004BA 0828 0000 0003 btst.b [A0 + 0x3], 0x0
000004C0 56C6 sne D6
000004C2 4406 neg.b D6
000004C4 4886 ext.w D6
000004C6 BC47 cmp.w D6, D7
000004C8 6618 bne +0x1A /* 000004E2 */
000004CA 4A6E 0010 tst.w [A6 + 0x10]
000004CE 6708 beq +0xA /* 000004D8 */
000004D0 203C AA55 AA55 move.l D0, 0xAA55AA55
000004D6 6006 bra +0x8 /* 000004DE */
label000004D8:
000004D8 203C 55AA 55AA move.l D0, 0x55AA55AA
label000004DE:
000004DE 2E00 move.l D7, D0
000004E0 6016 bra +0x18 /* 000004F8 */
label000004E2:
000004E2 4A6E 0010 tst.w [A6 + 0x10]
000004E6 6708 beq +0xA /* 000004F0 */
000004E8 203C 55AA 55AA move.l D0, 0x55AA55AA
000004EE 6006 bra +0x8 /* 000004F6 */
label000004F0:
000004F0 203C AA55 AA55 move.l D0, 0xAA55AA55
label000004F6:
000004F6 2E00 move.l D7, D0
label000004F8:
000004F8 206E 000C movea.l A0, [A6 + 0xC]
000004FC 2147 0004 move.l [A0 + 0x4], D7
00000500 2087 move.l [A0], D7
00000502 4CDF 00C0 movem.l D6,D7, [A7]+
00000506 4E5E unlink A6
00000508 4E75 rts
fn0000050A:
0000050A 4E56 FFE4 link A6, -0x001C
0000050E 48E7 0110 movem.l -[A7], D7,A3
00000512 3E2E 0008 move.w D7, [A6 + 0x8]
00000516 7008 moveq.l D0, 0x08
00000518 D0AE 000A add.l D0, [A6 + 0xA]
0000051C 2640 movea.l A3, D0
0000051E 2F0B move.l -[A7], A3
00000520 A8A1 syscall FrameRect
00000522 2D53 FFE4 move.l [A6 - 0x1C], [A3]
00000526 2D6B 0004 FFE8 move.l [A6 - 0x18], [A3 + 0x4]
0000052C 486E FFE4 pea.l [A6 - 0x1C]
00000530 2F3C 0001 0001 move.l -[A7], 0x10001
00000536 A8A9 syscall InsetRect
00000538 206E 000A movea.l A0, [A6 + 0xA]
0000053C 0C28 00FE 0011 cmpi.b [A0 + 0x11], 0xFE
00000542 6524 bcs +0x26 /* 00000568 */
00000544 4A47 tst.w D7
00000546 6716 beq +0x18 /* 0000055E */
00000548 303C CCCC move.w D0, 0xCCCC
0000054C 3D40 FFF6 move.w [A6 - 0xA], D0
00000550 3D40 FFF4 move.w [A6 - 0xC], D0
00000554 3D40 FFF2 move.w [A6 - 0xE], D0
00000558 486E FFF2 pea.l [A6 - 0xE]
0000055C AA15 syscall RGBBackColor
label0000055E:
0000055E 486E FFE4 pea.l [A6 - 0x1C]
00000562 A8A3 syscall EraseRect
00000564 6000 0150 bra +0x152 /* 000006B6 */
label00000568:
00000568 4A47 tst.w D7
0000056A 6738 beq +0x3A /* 000005A4 */
0000056C 70FF moveq.l D0, 0xFFFFFFFF
0000056E 3D40 FFF6 move.w [A6 - 0xA], D0
00000572 3D40 FFF4 move.w [A6 - 0xC], D0
00000576 3D40 FFF2 move.w [A6 - 0xE], D0
0000057A 303C 7777 move.w D0, 0x7777 /* 'ww' */
0000057E 3D40 FFF0 move.w [A6 - 0x10], D0
00000582 3D40 FFEE move.w [A6 - 0x12], D0
00000586 3D40 FFEC move.w [A6 - 0x14], D0
0000058A 3F3C 0001 move.w -[A7], 0x1
0000058E 486E FFEC pea.l [A6 - 0x14]
00000592 486E FFF2 pea.l [A6 - 0xE]
00000596 486E FFE4 pea.l [A6 - 0x1C]
0000059A 4EBA 033C jsr [PC + 0x33C /* 000008D8 */]
0000059E 4FEF 000E lea.l A7, [A7 + 0xE]
000005A2 6012 bra +0x14 /* 000005B6 */
label000005A4:
000005A4 3F3C 000B move.w -[A7], 0xB
000005A8 A89C syscall PenMode
000005AA 486E FFE4 pea.l [A6 - 0x1C]
000005AE A8A1 syscall FrameRect
000005B0 3F3C 0008 move.w -[A7], 0x8
000005B4 A89C syscall PenMode
label000005B6:
000005B6 486E FFE4 pea.l [A6 - 0x1C]
000005BA 2F3C 0001 0001 move.l -[A7], 0x10001
000005C0 A8A9 syscall InsetRect
000005C2 4A47 tst.w D7
000005C4 6718 beq +0x1A /* 000005DE */
000005C6 303C CCCC move.w D0, 0xCCCC
000005CA 3D40 FFF6 move.w [A6 - 0xA], D0
000005CE 3D40 FFF4 move.w [A6 - 0xC], D0
000005D2 3D40 FFF2 move.w [A6 - 0xE], D0
000005D6 486E FFF2 pea.l [A6 - 0xE]
000005DA AA14 syscall RGBForeColor
000005DC 6006 bra +0x8 /* 000005E4 */
label000005DE:
000005DE 3F3C 000B move.w -[A7], 0xB
000005E2 A89C syscall PenMode
label000005E4:
000005E4 2F3C 0002 0003 move.l -[A7], 0x20003
000005EA A89B syscall PenSize
000005EC 486E FFE4 pea.l [A6 - 0x1C]
000005F0 A8A1 syscall FrameRect
000005F2 2F3C 0001 0001 move.l -[A7], 0x10001
000005F8 A89B syscall PenSize
000005FA 3F3C 0008 move.w -[A7], 0x8
000005FE A89C syscall PenMode
00000600 486E FFE4 pea.l [A6 - 0x1C]
00000604 2F3C 0002 0003 move.l -[A7], 0x20003
0000060A A8A9 syscall InsetRect
0000060C 4A47 tst.w D7
0000060E 6714 beq +0x16 /* 00000624 */
00000610 486E FFF2 pea.l [A6 - 0xE]
00000614 3F3C 0024 move.w -[A7], 0x24 /* '$' */
00000618 4EBA 08D2 jsr [PC + 0x8D2 /* 00000EEC */]
0000061C 486E FFF2 pea.l [A6 - 0xE]
00000620 AA14 syscall RGBForeColor
00000622 5C8F addq.l A7, 6
label00000624:
00000624 486E FFE4 pea.l [A6 - 0x1C]
00000628 A8A1 syscall FrameRect
0000062A 486E FFE4 pea.l [A6 - 0x1C]
0000062E 2F3C 0001 0001 move.l -[A7], 0x10001
00000634 A8A9 syscall InsetRect
00000636 4A47 tst.w D7
00000638 675E beq +0x60 /* 00000698 */
0000063A 486E FFF2 pea.l [A6 - 0xE]
0000063E 3F3C 0022 move.w -[A7], 0x22 /* '\"' */
00000642 4EBA 08A8 jsr [PC + 0x8A8 /* 00000EEC */]
00000646 486E FFF2 pea.l [A6 - 0xE]
0000064A AA14 syscall RGBForeColor
0000064C 3EAE FFE6 move.w [A7], [A6 - 0x1A]
00000650 70FF moveq.l D0, 0xFFFFFFFF
00000652 D06E FFE8 add.w D0, [A6 - 0x18]
00000656 3F00 move.w -[A7], D0
00000658 A893 syscall MoveTo
0000065A 3EAE FFE6 move.w [A7], [A6 - 0x1A]
0000065E 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000662 A891 syscall LineTo
00000664 70FF moveq.l D0, 0xFFFFFFFF
00000666 D06E FFEA add.w D0, [A6 - 0x16]
0000066A 3E80 move.w [A7], D0
0000066C 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000670 A891 syscall LineTo
00000672 526E FFE6 addq.w [A6 - 0x1A], 1
00000676 526E FFE4 addq.w [A6 - 0x1C], 1
0000067A 303C AAAA move.w D0, 0xAAAA
0000067E 3D40 FFF6 move.w [A6 - 0xA], D0
00000682 3D40 FFF4 move.w [A6 - 0xC], D0
00000686 3D40 FFF2 move.w [A6 - 0xE], D0
0000068A 486E FFF2 pea.l [A6 - 0xE]
0000068E AA14 syscall RGBForeColor
00000690 486E FFE4 pea.l [A6 - 0x1C]
00000694 A8A2 syscall PaintRect
00000696 601E bra +0x20 /* 000006B6 */
label00000698:
00000698 3F3C 0001 move.w -[A7], 0x1
0000069C 486E FFF8 pea.l [A6 - 0x8]
000006A0 486E FFE4 pea.l [A6 - 0x1C]
000006A4 4EBA FDFC jsr [PC - 0x204 /* 000004A2 */]
000006A8 486E FFE4 pea.l [A6 - 0x1C]
000006AC 486E FFF8 pea.l [A6 - 0x8]
000006B0 A8A5 syscall FillRect
000006B2 4FEF 000A lea.l A7, [A7 + 0xA]
label000006B6:
000006B6 4CDF 0880 movem.l D7,A3, [A7]+
000006BA 4E5E unlink A6
000006BC 205F movea.l A0, [A7]+
000006BE 5C8F addq.l A7, 6
000006C0 4ED0 jmp [A0]
fn000006C2:
000006C2 4E56 FFE4 link A6, -0x001C
000006C6 48E7 0310 movem.l -[A7], D6,D7,A3
000006CA 266E 000A movea.l A3, [A6 + 0xA]
000006CE 3E2E 0008 move.w D7, [A6 + 0x8]
000006D2 206B 001C movea.l A0, [A3 + 0x1C]
000006D6 2050 movea.l A0, [A0]
000006D8 2D50 FFE4 move.l [A6 - 0x1C], [A0]
000006DC 2D68 0004 FFE8 move.l [A6 - 0x18], [A0 + 0x4]
000006E2 0C2B 00FE 0011 cmpi.b [A3 + 0x11], 0xFE
000006E8 654A bcs +0x4C /* 00000734 */
000006EA 486E FFE4 pea.l [A6 - 0x1C]
000006EE 2F3C 0002 0002 move.l -[A7], 0x20002
000006F4 A8A9 syscall InsetRect
000006F6 4A47 tst.w D7
000006F8 6718 beq +0x1A /* 00000712 */
000006FA 303C 8888 move.w D0, 0x8888
000006FE 3D40 FFF6 move.w [A6 - 0xA], D0
00000702 3D40 FFF4 move.w [A6 - 0xC], D0
00000706 3D40 FFF2 move.w [A6 - 0xE], D0
0000070A 486E FFF2 pea.l [A6 - 0xE]
0000070E AA14 syscall RGBForeColor
00000710 6018 bra +0x1A /* 0000072A */
label00000712:
00000712 4267 clr.w -[A7]
00000714 486E FFF8 pea.l [A6 - 0x8]
00000718 486E FFE4 pea.l [A6 - 0x1C]
0000071C 4EBA FD84 jsr [PC - 0x27C /* 000004A2 */]
00000720 486E FFF8 pea.l [A6 - 0x8]
00000724 A89D syscall PenPat
00000726 4FEF 000A lea.l A7, [A7 + 0xA]
label0000072A:
0000072A 486E FFE4 pea.l [A6 - 0x1C]
0000072E A8A1 syscall FrameRect
00000730 6000 019A bra +0x19C /* 000008CC */
label00000734:
00000734 4A47 tst.w D7
00000736 6700 00BC beq +0xBE /* 000007F4 */
0000073A 303C 2222 move.w D0, 0x2222 /* '\"\"' */
0000073E 3D40 FFF6 move.w [A6 - 0xA], D0
00000742 3D40 FFF4 move.w [A6 - 0xC], D0
00000746 3D40 FFF2 move.w [A6 - 0xE], D0
0000074A 486E FFF2 pea.l [A6 - 0xE]
0000074E AA14 syscall RGBForeColor
00000750 3F2E FFE6 move.w -[A7], [A6 - 0x1A]
00000754 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000758 A893 syscall MoveTo
0000075A 70FF moveq.l D0, 0xFFFFFFFF
0000075C D06E FFEA add.w D0, [A6 - 0x16]
00000760 3F00 move.w -[A7], D0
00000762 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000766 A891 syscall LineTo
00000768 3F2E FFE6 move.w -[A7], [A6 - 0x1A]
0000076C 70FF moveq.l D0, 0xFFFFFFFF
0000076E D06E FFE8 add.w D0, [A6 - 0x18]
00000772 3F00 move.w -[A7], D0
00000774 A893 syscall MoveTo
00000776 70FF moveq.l D0, 0xFFFFFFFF
00000778 D06E FFEA add.w D0, [A6 - 0x16]
0000077C 3F00 move.w -[A7], D0
0000077E 70FF moveq.l D0, 0xFFFFFFFF
00000780 D06E FFE8 add.w D0, [A6 - 0x18]
00000784 3F00 move.w -[A7], D0
00000786 A891 syscall LineTo
00000788 303C 5555 move.w D0, 0x5555 /* 'UU' */
0000078C 3D40 FFF6 move.w [A6 - 0xA], D0
00000790 3D40 FFF4 move.w [A6 - 0xC], D0
00000794 3D40 FFF2 move.w [A6 - 0xE], D0
00000798 486E FFF2 pea.l [A6 - 0xE]
0000079C AA14 syscall RGBForeColor
0000079E 3F2E FFE6 move.w -[A7], [A6 - 0x1A]
000007A2 7001 moveq.l D0, 0x01
000007A4 D06E FFE4 add.w D0, [A6 - 0x1C]
000007A8 3F00 move.w -[A7], D0
000007AA A893 syscall MoveTo
000007AC 3F2E FFE6 move.w -[A7], [A6 - 0x1A]
000007B0 70FE moveq.l D0, 0xFFFFFFFE
000007B2 D06E FFE8 add.w D0, [A6 - 0x18]
000007B6 3F00 move.w -[A7], D0
000007B8 A891 syscall LineTo
000007BA 486E FFF2 pea.l [A6 - 0xE]
000007BE 3F3C 0024 move.w -[A7], 0x24 /* '$' */
000007C2 4EBA 0728 jsr [PC + 0x728 /* 00000EEC */]
000007C6 486E FFF2 pea.l [A6 - 0xE]
000007CA AA14 syscall RGBForeColor
000007CC 70FF moveq.l D0, 0xFFFFFFFF
000007CE D06E FFEA add.w D0, [A6 - 0x16]
000007D2 3E80 move.w [A7], D0
000007D4 7001 moveq.l D0, 0x01
000007D6 D06E FFE4 add.w D0, [A6 - 0x1C]
000007DA 3F00 move.w -[A7], D0
000007DC A893 syscall MoveTo
000007DE 70FF moveq.l D0, 0xFFFFFFFF
000007E0 D06E FFEA add.w D0, [A6 - 0x16]
000007E4 3E80 move.w [A7], D0
000007E6 70FE moveq.l D0, 0xFFFFFFFE
000007E8 D06E FFE8 add.w D0, [A6 - 0x18]
000007EC 3F00 move.w -[A7], D0
000007EE A891 syscall LineTo
000007F0 548F addq.l A7, 2
000007F2 6006 bra +0x8 /* 000007FA */
label000007F4:
000007F4 486E FFE4 pea.l [A6 - 0x1C]
000007F8 A8A1 syscall FrameRect
label000007FA:
000007FA 486E FFE4 pea.l [A6 - 0x1C]
000007FE 2F3C 0001 0001 move.l -[A7], 0x10001
00000804 A8A9 syscall InsetRect
00000806 4A47 tst.w D7
00000808 6716 beq +0x18 /* 00000820 */
0000080A 486E FFF2 pea.l [A6 - 0xE]
0000080E 3F3C 0022 move.w -[A7], 0x22 /* '\"' */
00000812 4EBA 06D8 jsr [PC + 0x6D8 /* 00000EEC */]
00000816 486E FFF2 pea.l [A6 - 0xE]
0000081A AA14 syscall RGBForeColor
0000081C 5C8F addq.l A7, 6
0000081E 6006 bra +0x8 /* 00000826 */
label00000820:
00000820 3F3C 000B move.w -[A7], 0xB
00000824 A89C syscall PenMode
label00000826:
00000826 486E FFE4 pea.l [A6 - 0x1C]
0000082A A8A1 syscall FrameRect
0000082C 3F3C 0008 move.w -[A7], 0x8
00000830 A89C syscall PenMode
00000832 486E FFE4 pea.l [A6 - 0x1C]
00000836 2F3C 0001 0001 move.l -[A7], 0x10001
0000083C A8A9 syscall InsetRect
0000083E 4A47 tst.w D7
00000840 6734 beq +0x36 /* 00000876 */
00000842 486E FFF2 pea.l [A6 - 0xE]
00000846 3F3C 0024 move.w -[A7], 0x24 /* '$' */
0000084A 4EBA 06A0 jsr [PC + 0x6A0 /* 00000EEC */]
0000084E 303C 5555 move.w D0, 0x5555 /* 'UU' */
00000852 3D40 FFF0 move.w [A6 - 0x10], D0
00000856 3D40 FFEE move.w [A6 - 0x12], D0
0000085A 3D40 FFEC move.w [A6 - 0x14], D0
0000085E 4257 clr.w [A7]
00000860 486E FFEC pea.l [A6 - 0x14]
00000864 486E FFF2 pea.l [A6 - 0xE]
00000868 486E FFE4 pea.l [A6 - 0x1C]
0000086C 4EBA 006A jsr [PC + 0x6A /* 000008D8 */]
00000870 4FEF 0012 lea.l A7, [A7 + 0x12]
00000874 6006 bra +0x8 /* 0000087C */
label00000876:
00000876 486E FFE4 pea.l [A6 - 0x1C]
0000087A A8A1 syscall FrameRect
label0000087C:
0000087C 486E FFE4 pea.l [A6 - 0x1C]
00000880 2F3C 0001 0001 move.l -[A7], 0x10001
00000886 A8A9 syscall InsetRect
00000888 1C2B 0011 move.b D6, [A3 + 0x11]
0000088C 4A06 tst.b D6
0000088E 6714 beq +0x16 /* 000008A4 */
00000890 0C06 00FE cmpi.b D6, 0xFE
00000894 640E bcc +0x10 /* 000008A4 */
00000896 4878 0021 push.l 0x21 /* '!' */
0000089A A862 syscall ForeColor
0000089C 486E FFE4 pea.l [A6 - 0x1C]
000008A0 A8A2 syscall PaintRect
000008A2 6028 bra +0x2A /* 000008CC */
label000008A4:
000008A4 4A47 tst.w D7
000008A6 671E beq +0x20 /* 000008C6 */
000008A8 303C CCCC move.w D0, 0xCCCC
000008AC 3D40 FFF6 move.w [A6 - 0xA], D0
000008B0 3D40 FFF4 move.w [A6 - 0xC], D0
000008B4 3D40 FFF2 move.w [A6 - 0xE], D0
000008B8 486E FFF2 pea.l [A6 - 0xE]
000008BC AA14 syscall RGBForeColor
000008BE 486E FFE4 pea.l [A6 - 0x1C]
000008C2 A8A2 syscall PaintRect
000008C4 6006 bra +0x8 /* 000008CC */
label000008C6:
000008C6 486E FFE4 pea.l [A6 - 0x1C]
000008CA A8A3 syscall EraseRect
label000008CC:
000008CC 4CDF 08C0 movem.l D6,D7,A3, [A7]+
000008D0 4E5E unlink A6
000008D2 205F movea.l A0, [A7]+
000008D4 5C8F addq.l A7, 6
000008D6 4ED0 jmp [A0]
fn000008D8:
000008D8 4E56 0000 link A6, 0
000008DC 48E7 0330 movem.l -[A7], D6,D7,A2,A3
000008E0 246E 0008 movea.l A2, [A6 + 0x8]
000008E4 3E2E 0014 move.w D7, [A6 + 0x14]
000008E8 2F2E 000C move.l -[A7], [A6 + 0xC]
000008EC AA14 syscall RGBForeColor
000008EE 47EA 0002 lea.l A3, [A2 + 0x2]
000008F2 3F13 move.w -[A7], [A3]
000008F4 70FF moveq.l D0, 0xFFFFFFFF
000008F6 D06A 0004 add.w D0, [A2 + 0x4]
000008FA 9047 sub.w D0, D7
000008FC 3F00 move.w -[A7], D0
000008FE A893 syscall MoveTo
00000900 3F13 move.w -[A7], [A3]
00000902 3F12 move.w -[A7], [A2]
00000904 A891 syscall LineTo
00000906 70FF moveq.l D0, 0xFFFFFFFF
00000908 D06A 0006 add.w D0, [A2 + 0x6]
0000090C 9047 sub.w D0, D7
0000090E 3F00 move.w -[A7], D0
00000910 3F12 move.w -[A7], [A2]
00000912 A891 syscall LineTo
00000914 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000918 AA14 syscall RGBForeColor
0000091A 4A47 tst.w D7
0000091C 57C6 seq D6
0000091E 4406 neg.b D6
00000920 4886 ext.w D6
00000922 3013 move.w D0, [A3]
00000924 D046 add.w D0, D6
00000926 3F00 move.w -[A7], D0
00000928 70FF moveq.l D0, 0xFFFFFFFF
0000092A D06A 0004 add.w D0, [A2 + 0x4]
0000092E 3F00 move.w -[A7], D0
00000930 A893 syscall MoveTo
00000932 70FF moveq.l D0, 0xFFFFFFFF
00000934 D06A 0006 add.w D0, [A2 + 0x6]
00000938 3F00 move.w -[A7], D0
0000093A 70FF moveq.l D0, 0xFFFFFFFF
0000093C D06A 0004 add.w D0, [A2 + 0x4]
00000940 3F00 move.w -[A7], D0
00000942 A891 syscall LineTo
00000944 70FF moveq.l D0, 0xFFFFFFFF
00000946 D06A 0006 add.w D0, [A2 + 0x6]
0000094A 3F00 move.w -[A7], D0
0000094C 3012 move.w D0, [A2]
0000094E D046 add.w D0, D6
00000950 3F00 move.w -[A7], D0
00000952 A891 syscall LineTo
00000954 4CDF 0CC0 movem.l D6,D7,A2,A3, [A7]+
00000958 4E5E unlink A6
0000095A 4E75 rts
fn0000095C:
0000095C 4E56 FFF8 link A6, -0x0008
00000960 48E7 0030 movem.l -[A7], A2,A3
00000964 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
0000096A 6704 beq +0x6 /* 00000970 */
0000096C 7001 moveq.l D0, 0x01
0000096E 6066 bra +0x68 /* 000009D6 */
label00000970:
00000970 486E 0008 pea.l [A6 + 0x8]
00000974 A870 syscall LocalToGlobal
00000976 486E 000C pea.l [A6 + 0xC]
0000097A A870 syscall LocalToGlobal
0000097C 42A7 clr.l -[A7]
0000097E AA29 syscall GetDeviceList
00000980 265F movea.l A3, [A7]+
00000982 604C bra +0x4E /* 000009D0 */
label00000984:
00000984 4227 clr.b -[A7]
00000986 2F0B move.l -[A7], A3
00000988 3F3C 000D move.w -[A7], 0xD /* '\r' */
0000098C AA2C syscall TestDeviceAttribute
0000098E 4A1F tst.b [A7]+
00000990 6736 beq +0x38 /* 000009C8 */
00000992 4227 clr.b -[A7]
00000994 2F0B move.l -[A7], A3
00000996 3F3C 000F move.w -[A7], 0xF
0000099A AA2C syscall TestDeviceAttribute
0000099C 4A1F tst.b [A7]+
0000099E 6728 beq +0x2A /* 000009C8 */
000009A0 2453 movea.l A2, [A3]
000009A2 206A 0016 movea.l A0, [A2 + 0x16]
000009A6 2050 movea.l A0, [A0]
000009A8 0C68 0008 0020 cmpi.w [A0 + 0x20], 0x8
000009AE 6C18 bge +0x1A /* 000009C8 */
000009B0 4227 clr.b -[A7]
000009B2 486E 0008 pea.l [A6 + 0x8]
000009B6 486A 0022 pea.l [A2 + 0x22]
000009BA 486E FFF8 pea.l [A6 - 0x8]
000009BE A8AA syscall SectRect
000009C0 4A1F tst.b [A7]+
000009C2 6704 beq +0x6 /* 000009C8 */
000009C4 7001 moveq.l D0, 0x01
000009C6 600E bra +0x10 /* 000009D6 */
label000009C8:
000009C8 42A7 clr.l -[A7]
000009CA 2F0B move.l -[A7], A3
000009CC AA2B syscall GetNextDevice
000009CE 265F movea.l A3, [A7]+
label000009D0:
000009D0 200B move.l D0, A3
000009D2 66B0 bne -0x4E /* 00000984 */
000009D4 7000 moveq.l D0, 0x00
label000009D6:
000009D6 4CDF 0C00 movem.l A2,A3, [A7]+
000009DA 4E5E unlink A6
000009DC 4E75 rts
fn000009DE:
000009DE 4E56 FFF2 link A6, -0x000E
000009E2 48E7 0330 movem.l -[A7], D6,D7,A2,A3
000009E6 246E 0008 movea.l A2, [A6 + 0x8]
000009EA 7008 moveq.l D0, 0x08
000009EC D0AE 000C add.l D0, [A6 + 0xC]
000009F0 2640 movea.l A3, D0
000009F2 3E2B 0006 move.w D7, [A3 + 0x6]
000009F6 9E6B 0002 sub.w D7, [A3 + 0x2]
000009FA 48C7 ext.l D7
000009FC 3C2B 0004 move.w D6, [A3 + 0x4]
00000A00 9C53 sub.w D6, [A3]
00000A02 48C6 ext.l D6
00000A04 2D53 FFF8 move.l [A6 - 0x8], [A3]
00000A08 2D6B 0004 FFFC move.l [A6 - 0x4], [A3 + 0x4]
00000A0E 4878 0020 push.l 0x20 /* ' ' */
00000A12 2047 movea.l A0, D7
00000A14 4868 001F pea.l [A0 + 0x1F]
00000A18 4EBA 0644 jsr [PC + 0x644 /* 0000105E */]
00000A1C E548 lsl D0.w, 2
00000A1E 3D40 FFF6 move.w [A6 - 0xA], D0
00000A22 306E FFF6 movea.w A0, [A6 - 0xA]
00000A26 2F08 move.l -[A7], A0
00000A28 2F06 move.l -[A7], D6
00000A2A 4EBA 0626 jsr [PC + 0x626 /* 00001052 */]
00000A2E A31E syscall NewPtrClear, flags=3
00000A30 2D48 FFF2 move.l [A6 - 0xE], A0
00000A34 4A78 0220 tst.w [0x00000220 /* MemErr */]
00000A38 6704 beq +0x6 /* 00000A3E */
00000A3A 7000 moveq.l D0, 0x00
00000A3C 6036 bra +0x38 /* 00000A74 */
label00000A3E:
00000A3E 2F0A move.l -[A7], A2
00000A40 A86F syscall OpenPort
00000A42 2553 0010 move.l [A2 + 0x10], [A3]
00000A46 256B 0004 0014 move.l [A2 + 0x14], [A3 + 0x4]
00000A4C 41EA 0002 lea.l A0, [A2 + 0x2]
00000A50 43EE FFF2 lea.l A1, [A6 - 0xE]
00000A54 20D9 move.l [A0]+, [A1]+
00000A56 20D9 move.l [A0]+, [A1]+
00000A58 20D9 move.l [A0]+, [A1]+
00000A5A 30D9 move.w [A0]+, [A1]+
00000A5C 2F0B move.l -[A7], A3
00000A5E A87B syscall ClipRect
00000A60 2F2A 0018 move.l -[A7], [A2 + 0x18]
00000A64 2F0B move.l -[A7], A3
00000A66 A8DF syscall RectRgn
00000A68 206E 000C movea.l A0, [A6 + 0xC]
00000A6C 2F28 0004 move.l -[A7], [A0 + 0x4]
00000A70 A873 syscall SetPort
00000A72 7001 moveq.l D0, 0x01
label00000A74:
00000A74 4CDF 0CC0 movem.l D6,D7,A2,A3, [A7]+
00000A78 4E5E unlink A6
00000A7A 4E75 rts
fn00000A7C:
00000A7C 4E56 FFF8 link A6, -0x0008
00000A80 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
00000A84 2A2E 0008 move.l D5, [A6 + 0x8]
00000A88 7008 moveq.l D0, 0x08
00000A8A D0AE 000C add.l D0, [A6 + 0xC]
00000A8E 2640 movea.l A3, D0
00000A90 3E2B 0006 move.w D7, [A3 + 0x6]
00000A94 9E6B 0002 sub.w D7, [A3 + 0x2]
00000A98 48C7 ext.l D7
00000A9A 3C2B 0004 move.w D6, [A3 + 0x4]
00000A9E 9C53 sub.w D6, [A3]
00000AA0 48C6 ext.l D6
00000AA2 206E 000C movea.l A0, [A6 + 0xC]
00000AA6 2068 0004 movea.l A0, [A0 + 0x4]
00000AAA 2068 0002 movea.l A0, [A0 + 0x2]
00000AAE 2050 movea.l A0, [A0]
00000AB0 3628 0020 move.w D3, [A0 + 0x20]
00000AB4 4878 0020 push.l 0x20 /* ' ' */
00000AB8 2F07 move.l -[A7], D7
00000ABA 3043 movea.w A0, D3
00000ABC 2F08 move.l -[A7], A0
00000ABE 4EBA 0592 jsr [PC + 0x592 /* 00001052 */]
00000AC2 2040 movea.l A0, D0
00000AC4 4868 001F pea.l [A0 + 0x1F]
00000AC8 4EBA 0594 jsr [PC + 0x594 /* 0000105E */]
00000ACC E548 lsl D0.w, 2
00000ACE 3800 move.w D4, D0
00000AD0 3044 movea.w A0, D4
00000AD2 2F08 move.l -[A7], A0
00000AD4 2F06 move.l -[A7], D6
00000AD6 4EBA 057A jsr [PC + 0x57A /* 00001052 */]
00000ADA A322 syscall NewHandleClear, flags=3
00000ADC 226E 0010 movea.l A1, [A6 + 0x10]
00000AE0 2288 move.l [A1], A0
00000AE2 4A78 0220 tst.w [0x00000220 /* MemErr */]
00000AE6 6706 beq +0x8 /* 00000AEE */
00000AE8 7000 moveq.l D0, 0x00
00000AEA 6000 0088 bra +0x8A /* 00000B74 */
label00000AEE:
00000AEE 2F05 move.l -[A7], D5
00000AF0 AA00 syscall OpenCPort
00000AF2 2045 movea.l A0, D5
00000AF4 2153 0010 move.l [A0 + 0x10], [A3]
00000AF8 216B 0004 0014 move.l [A0 + 0x14], [A3 + 0x4]
00000AFE 2F0B move.l -[A7], A3
00000B00 A87B syscall ClipRect
00000B02 2045 movea.l A0, D5
00000B04 2F28 0018 move.l -[A7], [A0 + 0x18]
00000B08 2F0B move.l -[A7], A3
00000B0A A8DF syscall RectRgn
00000B0C 206E 0010 movea.l A0, [A6 + 0x10]
00000B10 2050 movea.l A0, [A0]
00000B12 A029 syscall HLock
00000B14 2045 movea.l A0, D5
00000B16 2068 0002 movea.l A0, [A0 + 0x2]
00000B1A 2450 movea.l A2, [A0]
00000B1C 206E 0010 movea.l A0, [A6 + 0x10]
00000B20 2050 movea.l A0, [A0]
00000B22 2490 move.l [A2], [A0]
00000B24 3543 0020 move.w [A2 + 0x20], D3
00000B28 3004 move.w D0, D4
00000B2A 0040 8000 ori.w D0, 0x8000
00000B2E 3540 0004 move.w [A2 + 0x4], D0
00000B32 2553 0006 move.l [A2 + 0x6], [A3]
00000B36 256B 0004 000A move.l [A2 + 0xA], [A3 + 0x4]
00000B3C 0C43 0008 cmpi.w D3, 0x8
00000B40 6F04 ble +0x6 /* 00000B46 */
00000B42 7010 moveq.l D0, 0x10
00000B44 6002 bra +0x4 /* 00000B48 */
label00000B46:
00000B46 7000 moveq.l D0, 0x00
label00000B48:
00000B48 3540 001E move.w [A2 + 0x1E], D0
00000B4C 0C43 0008 cmpi.w D3, 0x8
00000B50 6F04 ble +0x6 /* 00000B56 */
00000B52 7003 moveq.l D0, 0x03
00000B54 6002 bra +0x4 /* 00000B58 */
label00000B56:
00000B56 7001 moveq.l D0, 0x01
label00000B58:
00000B58 3540 0022 move.w [A2 + 0x22], D0
00000B5C 302A 0022 move.w D0, [A2 + 0x22]
00000B60 C1EA 0020 muls.w D0, [A2 + 0x20]
00000B64 3540 0024 move.w [A2 + 0x24], D0
00000B68 206E 000C movea.l A0, [A6 + 0xC]
00000B6C 2F28 0004 move.l -[A7], [A0 + 0x4]
00000B70 A873 syscall SetPort
00000B72 7001 moveq.l D0, 0x01
label00000B74:
00000B74 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
00000B78 4E5E unlink A6
00000B7A 4E75 rts
fn00000B7C:
00000B7C 4E56 0000 link A6, 0
00000B80 48E7 0F10 movem.l -[A7], D4,D5,D6,D7,A3
00000B84 7008 moveq.l D0, 0x08
00000B86 D0AE 0008 add.l D0, [A6 + 0x8]
00000B8A 2640 movea.l A3, D0
00000B8C 3E2B 0002 move.w D7, [A3 + 0x2]
00000B90 BE6E 000E cmp.w D7, [A6 + 0xE]
00000B94 6F08 ble +0xA /* 00000B9E */
00000B96 3C07 move.w D6, D7
00000B98 9C6E 000E sub.w D6, [A6 + 0xE]
00000B9C 6014 bra +0x16 /* 00000BB2 */
label00000B9E:
00000B9E 3A2B 0006 move.w D5, [A3 + 0x6]
00000BA2 BA6E 000E cmp.w D5, [A6 + 0xE]
00000BA6 6C08 bge +0xA /* 00000BB0 */
00000BA8 3C2E 000E move.w D6, [A6 + 0xE]
00000BAC 9C45 sub.w D6, D5
00000BAE 6002 bra +0x4 /* 00000BB2 */
label00000BB0:
00000BB0 7C00 moveq.l D6, 0x00
label00000BB2:
00000BB2 3A13 move.w D5, [A3]
00000BB4 BA6E 000C cmp.w D5, [A6 + 0xC]
00000BB8 6F08 ble +0xA /* 00000BC2 */
00000BBA 3805 move.w D4, D5
00000BBC 986E 000C sub.w D4, [A6 + 0xC]
00000BC0 6014 bra +0x16 /* 00000BD6 */
label00000BC2:
00000BC2 3A2B 0004 move.w D5, [A3 + 0x4]
00000BC6 BA6E 000C cmp.w D5, [A6 + 0xC]
00000BCA 6C08 bge +0xA /* 00000BD4 */
00000BCC 382E 000C move.w D4, [A6 + 0xC]
00000BD0 9845 sub.w D4, D5
00000BD2 6002 bra +0x4 /* 00000BD6 */
label00000BD4:
00000BD4 7800 moveq.l D4, 0x00
label00000BD6:
00000BD6 0C46 0028 cmpi.w D6, 0x28 /* '(' */
00000BDA 6E06 bgt +0x8 /* 00000BE2 */
00000BDC 0C44 0014 cmpi.w D4, 0x14
00000BE0 6F06 ble +0x8 /* 00000BE8 */
label00000BE2:
00000BE2 302E 0010 move.w D0, [A6 + 0x10]
00000BE6 6020 bra +0x22 /* 00000C08 */
label00000BE8:
00000BE8 7CFB moveq.l D6, 0xFFFFFFFB
00000BEA DC6E 000E add.w D6, [A6 + 0xE]
00000BEE BE46 cmp.w D7, D6
00000BF0 6F04 ble +0x6 /* 00000BF6 */
00000BF2 3C07 move.w D6, D7
00000BF4 6010 bra +0x12 /* 00000C06 */
label00000BF6:
00000BF6 3A2B 0006 move.w D5, [A3 + 0x6]
00000BFA 700A moveq.l D0, 0x0A
00000BFC D046 add.w D0, D6
00000BFE BA40 cmp.w D5, D0
00000C00 6C04 bge +0x6 /* 00000C06 */
00000C02 7CF6 moveq.l D6, 0xFFFFFFF6
00000C04 DC45 add.w D6, D5
label00000C06:
00000C06 3006 move.w D0, D6
label00000C08:
00000C08 4CDF 08F0 movem.l D4,D5,D6,D7,A3, [A7]+
00000C0C 4E5E unlink A6
00000C0E 4E75 rts
fn00000C10:
00000C10 4E56 FFFC link A6, -0x0004
00000C14 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
00000C18 2E2E 0008 move.l D7, [A6 + 0x8]
00000C1C 246E 000C movea.l A2, [A6 + 0xC]
00000C20 2007 move.l D0, D7
00000C22 5080 addq.l D0, 8
00000C24 2640 movea.l A3, D0
00000C26 2047 movea.l A0, D7
00000C28 3568 0012 0010 move.w [A2 + 0x10], [A0 + 0x12]
00000C2E 2553 0008 move.l [A2 + 0x8], [A3]
00000C32 256B 0004 000C move.l [A2 + 0xC], [A3 + 0x4]
00000C38 3C2A 0010 move.w D6, [A2 + 0x10]
00000C3C 2047 movea.l A0, D7
00000C3E 3A28 0016 move.w D5, [A0 + 0x16]
00000C42 BA46 cmp.w D5, D6
00000C44 660A bne +0xC /* 00000C50 */
00000C46 7CF6 moveq.l D6, 0xFFFFFFF6
00000C48 DC6B 0006 add.w D6, [A3 + 0x6]
00000C4C 6000 0092 bra +0x94 /* 00000CE0 */
label00000C50:
00000C50 2047 movea.l A0, D7
00000C52 3828 0014 move.w D4, [A0 + 0x14]
00000C56 B846 cmp.w D4, D6
00000C58 6608 bne +0xA /* 00000C62 */
00000C5A 3C2B 0002 move.w D6, [A3 + 0x2]
00000C5E 6000 0080 bra +0x82 /* 00000CE0 */
label00000C62:
00000C62 362B 0002 move.w D3, [A3 + 0x2]
00000C66 3C2B 0006 move.w D6, [A3 + 0x6]
00000C6A 9C43 sub.w D6, D3
00000C6C 70F6 moveq.l D0, 0xFFFFFFF6
00000C6E DC40 add.w D6, D0
00000C70 48C6 ext.l D6
00000C72 3005 move.w D0, D5
00000C74 9044 sub.w D0, D4
00000C76 5240 addq.w D0, 1
00000C78 3040 movea.w A0, D0
00000C7A 2D48 FFFC move.l [A6 - 0x4], A0
00000C7E 2F06 move.l -[A7], D6
00000C80 4878 0064 push.l 0x64 /* 'd' */
00000C84 2F08 move.l -[A7], A0
00000C86 4EBA 03CA jsr [PC + 0x3CA /* 00001052 */]
00000C8A 2F00 move.l -[A7], D0
00000C8C 4EBA 03D0 jsr [PC + 0x3D0 /* 0000105E */]
00000C90 2A00 move.l D5, D0
00000C92 2247 movea.l A1, D7
00000C94 3C3C 03E8 move.w D6, 0x3E8
00000C98 CDE9 0012 muls.w D6, [A1 + 0x12]
00000C9C 2F05 move.l -[A7], D5
00000C9E 2F06 move.l -[A7], D6
00000CA0 4EBA 03BC jsr [PC + 0x3BC /* 0000105E */]
00000CA4 2800 move.l D4, D0
00000CA6 4878 000A push.l 0xA /* '\n' */
00000CAA 2F04 move.l -[A7], D4
00000CAC 4EBA 03B4 jsr [PC + 0x3B4 /* 00001062 */]
00000CB0 5B80 subq.l D0, 5
00000CB2 5EC0 sgt D0
00000CB4 4400 neg.b D0
00000CB6 4880 ext.w D0
00000CB8 4878 000A push.l 0xA /* '\n' */
00000CBC 2F04 move.l -[A7], D4
00000CBE 2200 move.l D1, D0
00000CC0 4EBA 039C jsr [PC + 0x39C /* 0000105E */]
00000CC4 C141 exg D0, D1
00000CC6 D041 add.w D0, D1
00000CC8 D043 add.w D0, D3
00000CCA 3C00 move.w D6, D0
00000CCC 7AF6 moveq.l D5, 0xFFFFFFF6
00000CCE DA6B 0006 add.w D5, [A3 + 0x6]
00000CD2 BA46 cmp.w D5, D6
00000CD4 6C04 bge +0x6 /* 00000CDA */
00000CD6 3C05 move.w D6, D5
00000CD8 6006 bra +0x8 /* 00000CE0 */
label00000CDA:
00000CDA B646 cmp.w D3, D6
00000CDC 6F02 ble +0x4 /* 00000CE0 */
00000CDE 3C03 move.w D6, D3
label00000CE0:
00000CE0 3546 0002 move.w [A2 + 0x2], D6
00000CE4 700A moveq.l D0, 0x0A
00000CE6 D046 add.w D0, D6
00000CE8 3540 0006 move.w [A2 + 0x6], D0
00000CEC 3493 move.w [A2], [A3]
00000CEE 356B 0004 0004 move.w [A2 + 0x4], [A3 + 0x4]
00000CF4 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
00000CF8 4E5E unlink A6
00000CFA 4E75 rts
fn00000CFC:
00000CFC 4E56 0000 link A6, 0
00000D00 48E7 0F30 movem.l -[A7], D4,D5,D6,D7,A2,A3
00000D04 246E 0008 movea.l A2, [A6 + 0x8]
00000D08 47EA 0008 lea.l A3, [A2 + 0x8]
00000D0C 3E2B 0002 move.w D7, [A3 + 0x2]
00000D10 3C2B 0006 move.w D6, [A3 + 0x6]
00000D14 9C47 sub.w D6, D7
00000D16 70F6 moveq.l D0, 0xFFFFFFF6
00000D18 DC40 add.w D6, D0
00000D1A 48C6 ext.l D6
00000D1C 3A2A 0016 move.w D5, [A2 + 0x16]
00000D20 9A6A 0014 sub.w D5, [A2 + 0x14]
00000D24 5245 addq.w D5, 1
00000D26 48C5 ext.l D5
00000D28 2F06 move.l -[A7], D6
00000D2A 4878 0064 push.l 0x64 /* 'd' */
00000D2E 2F05 move.l -[A7], D5
00000D30 4EBA 0320 jsr [PC + 0x320 /* 00001052 */]
00000D34 2F00 move.l -[A7], D0
00000D36 4EBA 0326 jsr [PC + 0x326 /* 0000105E */]
00000D3A 2800 move.l D4, D0
00000D3C 4878 0064 push.l 0x64 /* 'd' */
00000D40 2F04 move.l -[A7], D4
00000D42 302E 000C move.w D0, [A6 + 0xC]
00000D46 9047 sub.w D0, D7
00000D48 3040 movea.w A0, D0
00000D4A 2F08 move.l -[A7], A0
00000D4C 4EBA 0304 jsr [PC + 0x304 /* 00001052 */]
00000D50 2F00 move.l -[A7], D0
00000D52 4EBA 030A jsr [PC + 0x30A /* 0000105E */]
00000D56 4CDF 0CF0 movem.l D4,D5,D6,D7,A2,A3, [A7]+
00000D5A 4E5E unlink A6
00000D5C 4E75 rts
fn00000D5E:
00000D5E 4E56 FFF8 link A6, -0x0008
00000D62 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
00000D66 266E 0008 movea.l A3, [A6 + 0x8]
00000D6A 7C00 moveq.l D6, 0x00
00000D6C 7E1C moveq.l D7, 0x1C
00000D6E DE8B add.l D7, A3
00000D70 2047 movea.l A0, D7
00000D72 4A90 tst.l [A0]
00000D74 6700 00CE beq +0xD0 /* 00000E44 */
00000D78 486E FFF8 pea.l [A6 - 0x8]
00000D7C A972 syscall GetMouse
00000D7E 7001 moveq.l D0, 0x01
00000D80 D06E FFFA add.w D0, [A6 - 0x6]
00000D84 3D40 FFFE move.w [A6 - 0x2], D0
00000D88 2047 movea.l A0, D7
00000D8A 2050 movea.l A0, [A0]
00000D8C A029 syscall HLock
00000D8E 2047 movea.l A0, D7
00000D90 2050 movea.l A0, [A0]
00000D92 2450 movea.l A2, [A0]
00000D94 3A2A 0002 move.w D5, [A2 + 0x2]
00000D98 177C 000A 0011 move.b [A3 + 0x11], 0xA /* '\n' */
00000D9E 2F0B move.l -[A7], A3
00000DA0 4EBA F5C2 jsr [PC - 0xA3E /* 00000364 */]
00000DA4 4217 clr.b [A7]
00000DA6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000DAA 2F0A move.l -[A7], A2
00000DAC A8AD syscall PtInRect
00000DAE 4A1F tst.b [A7]+
00000DB0 548F addq.l A7, 2
00000DB2 670C beq +0xE /* 00000DC0 */
00000DB4 78FB moveq.l D4, 0xFFFFFFFB
00000DB6 D86E FFFA add.w D4, [A6 - 0x6]
00000DBA 986A 0002 sub.w D4, [A2 + 0x2]
00000DBE 6002 bra +0x4 /* 00000DC2 */
label00000DC0:
00000DC0 7800 moveq.l D4, 0x00
label00000DC2:
00000DC2 4227 clr.b -[A7]
00000DC4 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000DC8 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000DCC A881 syscall EqualPt
00000DCE 4A1F tst.b [A7]+
00000DD0 663A bne +0x3C /* 00000E0C */
00000DD2 2D6E FFF8 FFFC move.l [A6 - 0x4], [A6 - 0x8]
00000DD8 996E FFFA sub.w [A6 - 0x6], D4
00000DDC 3F05 move.w -[A7], D5
00000DDE 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000DE2 2F0B move.l -[A7], A3
00000DE4 4EBA FD96 jsr [PC - 0x26A /* 00000B7C */]
00000DE8 3600 move.w D3, D0
00000DEA B66A 0002 cmp.w D3, [A2 + 0x2]
00000DEE 4FEF 000A lea.l A7, [A7 + 0xA]
00000DF2 6718 beq +0x1A /* 00000E0C */
00000DF4 7C01 moveq.l D6, 0x01
00000DF6 2F0A move.l -[A7], A2
00000DF8 3003 move.w D0, D3
00000DFA 906A 0002 sub.w D0, [A2 + 0x2]
00000DFE 3F00 move.w -[A7], D0
00000E00 4267 clr.w -[A7]
00000E02 A8A8 syscall OffsetRect
00000E04 2F0B move.l -[A7], A3
00000E06 4EBA F55C jsr [PC - 0xAA4 /* 00000364 */]
00000E0A 588F addq.l A7, 4
label00000E0C:
00000E0C 486E FFF8 pea.l [A6 - 0x8]
00000E10 A972 syscall GetMouse
00000E12 4227 clr.b -[A7]
00000E14 A973 syscall StillDown
00000E16 4A1F tst.b [A7]+
00000E18 66A8 bne -0x56 /* 00000DC2 */
00000E1A 422B 0011 clr.b [A3 + 0x11]
00000E1E 2F0B move.l -[A7], A3
00000E20 4EBA F542 jsr [PC - 0xABE /* 00000364 */]
00000E24 4A46 tst.w D6
00000E26 588F addq.l A7, 4
00000E28 6714 beq +0x16 /* 00000E3E */
00000E2A 3F2A 0002 move.w -[A7], [A2 + 0x2]
00000E2E 2F0B move.l -[A7], A3
00000E30 4EBA FECA jsr [PC - 0x136 /* 00000CFC */]
00000E34 3540 0010 move.w [A2 + 0x10], D0
00000E38 3740 0012 move.w [A3 + 0x12], D0
00000E3C 5C8F addq.l A7, 6
label00000E3E:
00000E3E 2047 movea.l A0, D7
00000E40 2050 movea.l A0, [A0]
00000E42 A02A syscall HUnlock
label00000E44:
00000E44 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
00000E48 4E5E unlink A6
00000E4A 4E75 rts
fn00000E4C:
00000E4C 4E56 FFFC link A6, -0x0004
00000E50 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
00000E54 4227 clr.b -[A7]
00000E56 42A7 clr.l -[A7]
00000E58 486E FFFC pea.l [A6 - 0x4]
00000E5C AA42 syscall GetAuxWin
00000E5E 4AAE FFFC tst.l [A6 - 0x4]
00000E62 548F addq.l A7, 2
00000E64 677C beq +0x7E /* 00000EE2 */
00000E66 206E FFFC movea.l A0, [A6 - 0x4]
00000E6A 2050 movea.l A0, [A0]
00000E6C 2068 0008 movea.l A0, [A0 + 0x8]
00000E70 2650 movea.l A3, [A0]
00000E72 3C2B 0006 move.w D6, [A3 + 0x6]
00000E76 BC6E 0008 cmp.w D6, [A6 + 0x8]
00000E7A 6C04 bge +0x6 /* 00000E80 */
00000E7C 7000 moveq.l D0, 0x00
00000E7E 6064 bra +0x66 /* 00000EE4 */
label00000E80:
00000E80 7800 moveq.l D4, 0x00
00000E82 3A04 move.w D5, D4
00000E84 2E05 move.l D7, D5
00000E86 48C7 ext.l D7
00000E88 E78F lsl D7, 3
00000E8A 6034 bra +0x36 /* 00000EC0 */
label00000E8C:
00000E8C 45F3 780A lea.l A2, [A3 + D7 + 0xA]
00000E90 3612 move.w D3, [A2]
00000E92 4A43 tst.w D3
00000E94 6726 beq +0x28 /* 00000EBC */
00000E96 4A6A 0002 tst.w [A2 + 0x2]
00000E9A 6720 beq +0x22 /* 00000EBC */
00000E9C 4A6A 0004 tst.w [A2 + 0x4]
00000EA0 671A beq +0x1C /* 00000EBC */
00000EA2 0C43 FFFF cmpi.w D3, 0xFFFF
00000EA6 6610 bne +0x12 /* 00000EB8 */
00000EA8 0C6A FFFF 0002 cmpi.w [A2 + 0x2], 0xFFFF
00000EAE 6608 bne +0xA /* 00000EB8 */
00000EB0 0C6A FFFF 0004 cmpi.w [A2 + 0x4], 0xFFFF
00000EB6 6704 beq +0x6 /* 00000EBC */
label00000EB8:
00000EB8 5244 addq.w D4, 1
00000EBA 6008 bra +0xA /* 00000EC4 */
label00000EBC:
00000EBC 5245 addq.w D5, 1
00000EBE 5087 addq.l D7, 8
label00000EC0:
00000EC0 BC45 cmp.w D6, D5
00000EC2 6EC8 bgt -0x36 /* 00000E8C */
label00000EC4:
00000EC4 4A44 tst.w D4
00000EC6 671A beq +0x1C /* 00000EE2 */
00000EC8 302E 0008 move.w D0, [A6 + 0x8]
00000ECC 48C0 ext.l D0
00000ECE E788 lsl D0, 3
00000ED0 206E 000A movea.l A0, [A6 + 0xA]
00000ED4 20B3 080A move.l [A0], [A3 + D0 + 0xA]
00000ED8 3173 080E 0004 move.w [A0 + 0x4], [A3 + D0 + 0xE]
00000EDE 7001 moveq.l D0, 0x01
00000EE0 6002 bra +0x4 /* 00000EE4 */
label00000EE2:
00000EE2 7000 moveq.l D0, 0x00
label00000EE4:
00000EE4 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
00000EE8 4E5E unlink A6
00000EEA 4E75 rts
fn00000EEC:
00000EEC 4E56 FFEE link A6, -0x0012
00000EF0 607E bra +0x80 /* 00000F70 */
00000EF2 0005 0006 ori.b D5, 0x6
00000EF6 0000 0005 ori.b D0, 0x5
00000EFA 0006 0005 ori.b D6, 0x5
00000EFE 0005 0006 ori.b D5, 0x6
00000F02 0007 0005 ori.b D7, 0x5
00000F06 0006 0008 ori.b D6, 0x8
00000F0A 0005 0006 ori.b D5, 0x6
00000F0E 000A 0005 ori.b A2, 0x5
00000F12 0006 000D ori.b D6, 0xD /* '\r' */
00000F16 0007 0008 ori.b D7, 0x8
00000F1A 0000 0007 ori.b D0, 0x7
00000F1E 0008 0001 ori.b A0, 0x1
00000F22 0007 0008 ori.b D7, 0x8
00000F26 0004 0009 ori.b D4, 0x9 /* '\t' */
00000F2A 000A 0000 ori.b A2, 0x0
00000F2E 0009 000A ori.b A1, 0xA /* '\n' */
00000F32 0004 0009 ori.b D4, 0x9 /* '\t' */
00000F36 000A 0006 ori.b A2, 0x6
00000F3A 0009 000A ori.b A1, 0xA /* '\n' */
00000F3E 000B 0009 ori.b A3, 0x9 /* '\t' */
00000F42 000A 000F ori.b A2, 0xF
00000F46 0009 000A ori.b A1, 0xA /* '\n' */
00000F4A 0000 0009 ori.b D0, 0x9 /* '\t' */
00000F4E 000A 0004 ori.b A2, 0x4
00000F52 0009 000A ori.b A1, 0xA /* '\n' */
00000F56 0006 0009 ori.b D6, 0x9 /* '\t' */
00000F5A 000A 000B ori.b A2, 0xB
00000F5E 000B 0008 ori.b A3, 0x8
00000F62 0000 000B ori.b D0, 0xB
00000F66 000C 0004 ori.b A4, 0x4
00000F6A 0007 000C ori.b D7, 0xC
00000F6E 000F 41FA ori.b A7, 0xFA
// begin alternate branch 00000F70-00000F74
label00000F70:
00000F70 41FA FF80 lea.l A0, [PC - 0x80 /* 00000EF2, value 0x50006 */]
// end alternate branch 00000F70-00000F74
label00000F70: // (misaligned)
00000F72 FF80 .extension 0xF80 // unimplemented
00000F74 43EE FFFA lea.l A1, [A6 - 0x6]
00000F78 2288 move.l [A1], A0
00000F7A 046E 0010 0008 subi.w [A6 + 0x8], 0x10
00000F80 486E FFF4 pea.l [A6 - 0xC]
00000F84 7006 moveq.l D0, 0x06
00000F86 C1EE 0008 muls.w D0, [A6 + 0x8]
00000F8A D0AE FFFA add.l D0, [A6 - 0x6]
00000F8E 2040 movea.l A0, D0
00000F90 3F10 move.w -[A7], [A0]
00000F92 4EBA FEB8 jsr [PC - 0x148 /* 00000E4C */]
00000F96 5C8F addq.l A7, 6
00000F98 4A40 tst.w D0
00000F9A 676E beq +0x70 /* 0000100A */
00000F9C 486E FFEE pea.l [A6 - 0x12]
00000FA0 7006 moveq.l D0, 0x06
00000FA2 C1EE 0008 muls.w D0, [A6 + 0x8]
00000FA6 206E FFFA movea.l A0, [A6 - 0x6]
00000FAA 3F30 0802 move.w -[A7], [A0 + D0 + 0x2]
00000FAE 4EBA FE9C jsr [PC - 0x164 /* 00000E4C */]
00000FB2 5C8F addq.l A7, 6
00000FB4 4A40 tst.w D0
00000FB6 6752 beq +0x54 /* 0000100A */
00000FB8 7006 moveq.l D0, 0x06
00000FBA C1EE 0008 muls.w D0, [A6 + 0x8]
00000FBE 206E FFFA movea.l A0, [A6 - 0x6]
00000FC2 3D70 0804 FFFE move.w [A6 - 0x2], [A0 + D0 + 0x4]
00000FC8 342E FFFE move.w D2, [A6 - 0x2]
00000FCC 48E7 0120 movem.l -[A7], D7,A2
00000FD0 41EE FFEE lea.l A0, [A6 - 0x12]
00000FD4 43EE FFF4 lea.l A1, [A6 - 0xC]
00000FD8 246E 000A movea.l A2, [A6 + 0xA]
00000FDC C4FC mulu.w D2, 0xFFFFFFFFFFFFFFFF
00000FDE 1111 move.b -[A0], [A1]
00000FE0 303C 0002 move.w D0, 0x2
label00000FE4:
00000FE4 7200 moveq.l D1, 0x00
00000FE6 3218 move.w D1, [A0]+
00000FE8 9251 sub.w D1, [A1]
00000FEA 55C7 scs D7
00000FEC 6402 bcc +0x4 /* 00000FF0 */
00000FEE 4441 neg.w D1
label00000FF0:
00000FF0 C2C2 mulu.w D1, D2
00000FF2 4841 swap.w D1
00000FF4 4A07 tst.b D7
00000FF6 6702 beq +0x4 /* 00000FFA */
00000FF8 4481 neg.l D1
label00000FFA:
00000FFA D259 add.w D1, [A1]+
00000FFC 34C1 move.w [A2]+, D1
00000FFE 51C8 FFE4 dbf D0, -0x1E /* 00000FE4 */
00001002 4CDF 0480 movem.l D7,A2, [A7]+
00001006 7001 moveq.l D0, 0x01
00001008 6002 bra +0x4 /* 0000100C */
label0000100A:
0000100A 7000 moveq.l D0, 0x00
label0000100C:
0000100C 4E5E unlink A6
0000100E 4E75 rts
fn00001010:
00001010 225F movea.l A1, [A7]+
00001012 201F move.l D0, [A7]+
00001014 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
0000101A 6606 bne +0x8 /* 00001022 */
0000101C A055 syscall StripAddress
0000101E 2E80 move.l [A7], D0
00001020 4ED1 jmp [A1]
label00001022:
00001022 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00001026 2E80 move.l [A7], D0
00001028 4ED1 jmp [A1]
fn0000102A:
0000102A 206F 000C movea.l A0, [A7 + 0xC]
0000102E 202F 0004 move.l D0, [A7 + 0x4]
00001032 A9E3 syscall PtrToHand
00001034 3F40 0010 move.w [A7 + 0x10], D0
00001038 226F 0008 movea.l A1, [A7 + 0x8]
0000103C 2288 move.l [A1], A0
0000103E 205F movea.l A0, [A7]+
00001040 4FEF 000C lea.l A7, [A7 + 0xC]
00001044 4ED0 jmp [A0]
00001046 4EFA 001E jmp [PC + 0x1E /* 00001066 */]
0000104A 4EFA 002E jmp [PC + 0x2E /* 0000107A */]
0000104E 4EFA 003E jmp [PC + 0x3E /* 0000108E */]
fn00001052:
00001052 4EFA 0056 jmp [PC + 0x56 /* 000010AA */]
00001056 4EFA 0088 jmp [PC + 0x88 /* 000010E0 */]
0000105A 4EFA 00A4 jmp [PC + 0xA4 /* 00001100 */]
fn0000105E:
0000105E 4EFA 00C2 jmp [PC + 0xC2 /* 00001122 */]
fn00001062:
00001062 4EFA 00DE jmp [PC + 0xDE /* 00001142 */]
label00001066:
00001066 205F movea.l A0, [A7]+
00001068 3218 move.w D1, [A0]+
label0000106A:
0000106A 3418 move.w D2, [A0]+
0000106C B058 cmp.w D0, [A0]+
0000106E 57C9 FFFA dbeq D1, -0x8 /* 0000106A */
00001072 4A42 tst.w D2
label00001074:
00001074 67FE beq -0x0 /* 00001074 */
00001076 4EF0 20FC jmp [A0 + D2.w - 0x4]
label0000107A:
0000107A 205F movea.l A0, [A7]+
0000107C 3218 move.w D1, [A0]+
label0000107E:
0000107E 3418 move.w D2, [A0]+
00001080 B098 cmp.l D0, [A0]+
00001082 57C9 FFFA dbeq D1, -0x8 /* 0000107E */
00001086 4A42 tst.w D2
label00001088:
00001088 67FE beq -0x0 /* 00001088 */
0000108A 4EF0 20FA jmp [A0 + D2.w - 0x6]
label0000108E:
0000108E 205F movea.l A0, [A7]+
00001090 3218 move.w D1, [A0]+
00001092 3418 move.w D2, [A0]+
00001094 B042 cmp.w D0, D2
00001096 6E0A bgt +0xC /* 000010A2 */
00001098 9041 sub.w D0, D1
0000109A 6D06 blt +0x8 /* 000010A2 */
0000109C D040 add.w D0, D0
0000109E 41F0 0002 lea.l A0, [A0 + D0.w + 0x2]
label000010A2:
000010A2 3010 move.w D0, [A0]
label000010A4:
000010A4 67FE beq -0x0 /* 000010A4 */
000010A6 4EF0 0000 jmp [A0 + D0.w]
label000010AA:
000010AA 202F 0004 move.l D0, [A7 + 0x4]
000010AE 2F41 0004 move.l [A7 + 0x4], D1
000010B2 222F 0008 move.l D1, [A7 + 0x8]
000010B6 2F5F 0004 move.l [A7 + 0x4], [A7]+
000010BA 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
000010BE 2400 move.l D2, D0
000010C0 2601 move.l D3, D1
000010C2 4842 swap.w D2
000010C4 C4C3 mulu.w D2, D3
000010C6 2800 move.l D4, D0
000010C8 2A01 move.l D5, D1
000010CA 4845 swap.w D5
000010CC C8C5 mulu.w D4, D5
000010CE D444 add.w D2, D4
000010D0 4842 swap.w D2
000010D2 4242 clr.w D2
000010D4 C0C1 mulu.w D0, D1
000010D6 D082 add.l D0, D2
000010D8 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
000010DC 221F move.l D1, [A7]+
000010DE 4E75 rts
label000010E0:
000010E0 202F 0004 move.l D0, [A7 + 0x4]
000010E4 2F41 0004 move.l [A7 + 0x4], D1
000010E8 222F 0008 move.l D1, [A7 + 0x8]
000010EC 2F5F 0004 move.l [A7 + 0x4], [A7]+
000010F0 48E7 3100 movem.l -[A7], D2,D3,D7
000010F4 4EBA 009C jsr [PC + 0x9C /* 00001192 */]
000010F8 4CDF 008C movem.l D2,D3,D7, [A7]+
000010FC 221F move.l D1, [A7]+
000010FE 4E75 rts
label00001100:
00001100 202F 0004 move.l D0, [A7 + 0x4]
00001104 2F41 0004 move.l [A7 + 0x4], D1
00001108 222F 0008 move.l D1, [A7 + 0x8]
0000110C 2F5F 0004 move.l [A7 + 0x4], [A7]+
00001110 48E7 3100 movem.l -[A7], D2,D3,D7
00001114 4EBA 007C jsr [PC + 0x7C /* 00001192 */]
00001118 2001 move.l D0, D1
0000111A 4CDF 008C movem.l D2,D3,D7, [A7]+
0000111E 221F move.l D1, [A7]+
00001120 4E75 rts
label00001122:
00001122 202F 0004 move.l D0, [A7 + 0x4]
00001126 2F41 0004 move.l [A7 + 0x4], D1
0000112A 222F 0008 move.l D1, [A7 + 0x8]
0000112E 2F5F 0004 move.l [A7 + 0x4], [A7]+
00001132 48E7 3100 movem.l -[A7], D2,D3,D7
00001136 4EBA 002C jsr [PC + 0x2C /* 00001164 */]
0000113A 4CDF 008C movem.l D2,D3,D7, [A7]+
0000113E 221F move.l D1, [A7]+
00001140 4E75 rts
label00001142:
00001142 202F 0004 move.l D0, [A7 + 0x4]
00001146 2F41 0004 move.l [A7 + 0x4], D1
0000114A 222F 0008 move.l D1, [A7 + 0x8]
0000114E 2F5F 0004 move.l [A7 + 0x4], [A7]+
00001152 48E7 3100 movem.l -[A7], D2,D3,D7
00001156 4EBA 000C jsr [PC + 0xC /* 00001164 */]
0000115A 2001 move.l D0, D1
0000115C 4CDF 008C movem.l D2,D3,D7, [A7]+
00001160 221F move.l D1, [A7]+
00001162 4E75 rts
fn00001164:
00001164 4A80 tst.l D0
00001166 6A1C bpl +0x1E /* 00001184 */
00001168 4A81 tst.l D1
0000116A 6A0C bpl +0xE /* 00001178 */
0000116C 4480 neg.l D0
0000116E 4481 neg.l D1
00001170 4EBA 0020 jsr [PC + 0x20 /* 00001192 */]
00001174 4481 neg.l D1
00001176 4E75 rts
label00001178:
00001178 4480 neg.l D0
0000117A 4EBA 0016 jsr [PC + 0x16 /* 00001192 */]
0000117E 4480 neg.l D0
00001180 4481 neg.l D1
00001182 4E75 rts
label00001184:
00001184 4A81 tst.l D1
00001186 6A0A bpl +0xC /* 00001192 */
00001188 4481 neg.l D1
0000118A 4EBA 0006 jsr [PC + 0x6 /* 00001192 */]
0000118E 4480 neg.l D0
00001190 4E75 rts
fn00001192:
00001192 2E3C 0000 FFFF move.l D7, 0xFFFF
00001198 B280 cmp.l D1, D0
0000119A 6306 bls +0x8 /* 000011A2 */
0000119C 2200 move.l D1, D0
0000119E 7000 moveq.l D0, 0x00
000011A0 4E75 rts
label000011A2:
000011A2 B087 cmp.l D0, D7
000011A4 620C bhi +0xE /* 000011B2 */
000011A6 80C1 divu.w D0, D1
000011A8 4840 swap.w D0
000011AA 3200 move.w D1, D0
000011AC 4240 clr.w D0
000011AE 4840 swap.w D0
000011B0 4E75 rts
label000011B2:
000011B2 B287 cmp.l D1, D7
000011B4 621A bhi +0x1C /* 000011D0 */
000011B6 2E00 move.l D7, D0
000011B8 4240 clr.w D0
000011BA 4840 swap.w D0
000011BC 80C1 divu.w D0, D1
000011BE 4840 swap.w D0
000011C0 4847 swap.w D7
000011C2 3E00 move.w D7, D0
000011C4 4847 swap.w D7
000011C6 8EC1 divu.w D7, D1
000011C8 3007 move.w D0, D7
000011CA 4847 swap.w D7
000011CC 3207 move.w D1, D7
000011CE 4E75 rts
label000011D0:
000011D0 2400 move.l D2, D0
000011D2 2601 move.l D3, D1
label000011D4:
000011D4 E288 lsr D0, 1
000011D6 E289 lsr D1, 1
000011D8 B287 cmp.l D1, D7
000011DA 62F8 bhi -0x6 /* 000011D4 */
000011DC 80C1 divu.w D0, D1
000011DE C087 and.l D0, D7
label000011E0:
000011E0 3203 move.w D1, D3
000011E2 C2C0 mulu.w D1, D0
000011E4 2E03 move.l D7, D3
000011E6 4847 swap.w D7
000011E8 CEC0 mulu.w D7, D0
000011EA 4847 swap.w D7
000011EC D287 add.l D1, D7
000011EE 6508 bcs +0xA /* 000011F8 */
000011F0 9282 sub.l D1, D2
000011F2 6204 bhi +0x6 /* 000011F8 */
000011F4 4481 neg.l D1
000011F6 4E75 rts
label000011F8:
000011F8 5340 subq.w D0, 1
000011FA 60E4 bra -0x1A /* 000011E0 */